package com.eapi.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eapi.eapicommom.model.entity.User;
import com.eapi.project.common.BaseResponse;
import com.eapi.project.model.dto.article.AddCategoryRequest;
import com.eapi.project.model.entity.Category;
import com.eapi.project.model.vo.CategoryVo;

import java.util.List;

public interface CategoryService extends IService<Category> {


    BaseResponse<List<CategoryVo>> getCategoryList();

    BaseResponse<List<CategoryVo>> getAllCategoryList();

    BaseResponse<String> addCategory(AddCategoryRequest addCategoryRequest, User loginUser);
}